package com.cx.base.day09_utilclass;

import org.springframework.util.StringUtils;

/**
 * @Author: robert.song
 * @Date: Created in 2022/5/13
 */
public class Util_03_StringUtil {

    public static void main(String[] args) {

        System.out.println(StringUtils.isEmpty(null));
        System.out.println(StringUtils.isEmpty(""));
        ;
        System.out.println(StringUtils.isEmpty(" "));
        ;
        System.out.println(StringUtils.isEmpty("   "));
        ;
        System.out.println(StringUtils.isEmpty("bob"));
        ;
        System.out.println(StringUtils.isEmpty(" bob "));
    }
}
